import asyncio


class AsyncContextManager:
    async def __aenter__(self):
        print("Entering async context")
        await asyncio.sleep(1)
        return self

    async def __aexit__(self, exc_type, exc, tb):
        print("Exiting async context")
        await asyncio.sleep(1)


async def main():
    async with AsyncContextManager():
        print("Inside async context")

if __name__ == '__main__':
    asyncio.run(main())
